package wchen.project.containsTest;

import org.junit.Test;

/**
 * @Desc:
 * @author: cww
 * @DateTime: 2019-12-28 15:02
 */

public class Contains {
    @Test
    public void testContains() {
        String s = "{\"validateMessagesShowId\":\"_validatorMessage\",\"status\":true,\"httpstatus\":200,\"data\":{\"isstudentDate\":false,\"is_login_passCode\":\"Y\",\"is_sweep_login\":\"Y\",\"psr_qr_code_result\":\"N\",\"login_url\":\"resources/login.html\",\"name\":\"陈俊生\",\"studentDate\":[\"2019-06-01\",\"2019-09-30\",\"2019-12-01\",\"2019-12-31\",\"2020-01-01\",\"2020-03-31\"],\"stu_control\":30,\"is_uam_login\":\"Y\",\"is_login\":\"Y\",\"other_control\":30},\"messages\":[],\"validateMessages\":{}}";
        boolean b = s.contains("{\"validateMessagesShowId\":\"_validatorMessage\",\"status\":true,\"httpstatus\":200,\"data\"");
        System.out.println(b);
    }
}
